import { ApiProperty, PartialType,OmitType } from "@nestjs/swagger";
import { CreateLabelDto } from "./create-label.dto";

export class QueryDto extends OmitType(PartialType(CreateLabelDto),['description']) {
    @ApiProperty(
        {
          description: '页码',
          type: Number,
          default: 1,
          required: false
        }
      )  
      pageNum: number;
      @ApiProperty(
        {
          description: '每页数量',
          type: Number,
          default: 10,
          required: false
        }
      )
      pageSize: number;
}